package com.scm.biz.dao;

import java.util.List;

import com.scm.biz.bean.FactoryContact;

public interface FactoryContactDao {
    int deleteByPrimaryKey(Integer id);

    int insert(FactoryContact record);

    int insertSelective(FactoryContact record);

    FactoryContact selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FactoryContact record);

    int updateByPrimaryKey(FactoryContact record);

	List<FactoryContact> selectByFactoryId(Integer i);
	
	int deleteByFactoryId(Long businessId);
	
	int updateByFactoryId(FactoryContact factoryContact);
}